package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class OperateRecordRequest {

    @NotEmpty(message = "菜单不能为空")
    @ApiModelProperty("菜单code ,必传,客户管理-customerList")
    private String menuCode;

    @ApiModelProperty("操作时间开始时间")
    private String startDate;

    @ApiModelProperty("操作时间开始时间")
    private String endDate;

    @ApiModelProperty("操作类型")
    private Integer operateType;

    @ApiModelProperty("操作结果 1-成功 0-失败")
    private String result;

    @ApiModelProperty("操作人")
    private String operator;

    @ApiModelProperty("通用字段,通用的查询条件,接收设备号、客户ID等信息")
    private String commonInfo;

    @ApiModelProperty("策略规则类型")
    private String strategyType;

    @ApiModelProperty("客户id")
    private String consumerId;

    @ApiModelProperty("页数")
    private Integer page = 1;

    @ApiModelProperty("页面大小")
    private Integer pageSize = 10;

}
